package com.atguigu.tingshu.common.domain;

import lombok.Data;
import lombok.ToString;
import org.springframework.amqp.rabbit.connection.CorrelationData;

@Data
@ToString
public class MaoErCorrelationData extends CorrelationData {

    // 消息体
    private Object message;

    // 交换机
    private String exchange;

    // 路由键
    private String routingKey;

    // 重试次数
    private int retryCount = 0;
}
